package com.circle.rest.core.common;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Auther: ZhaoHang
 * @Date: 2019/4/19 23:02
 * @Description:
 */
@Component
public class CommonProperties {
    private static String GMAPKEY;

    public static String getGMAPKEY() {
        return GMAPKEY;
    }

    @Value("${rest.gmap-key}")
    public void setGMAPKEY(String GMAPKEY) {
        CommonProperties.GMAPKEY = GMAPKEY;
    }
}
